SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42a15ea7d58cf856e7fd459123a096fe820b62963e48959f03b740a53dc4f1c5' 
  AND token = 'IoFLG+MHDiQlZp7YXyfJLXff1gxO2C56180CO5XK87k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}