SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca8f3759180c3e9342d8bba48d3627f9dcb2048eb1fcb6a5dd695152a2223a2d' 
  AND token = 'Y3X2R5a3CV9hPQl86lSSTo/IBQqsDpp6U9zm9mWhbUQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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