SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e1a7f2b3ba1297467ddfacc4ccbcc7044812b1b1bb744e6caeaf047d4ae94eb' 
  AND token = 'H5n4LgQ/uy0AKgmo9mxYbnYNTmVs5Mm3nyrpfJcKzHs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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