SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd87fcd66d598042e5912ea5a9254f756c04932a3371f8d128fbb8f1c4f77413b' 
  AND token = 'wnlD4TfJ3bK1xaM+o2/NZkmD+vLdrE5xQr3mYoOKxnI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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