SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1dffc7e9bdb49ae84fb9711086fcf090b443d61e3d19dd9f13d470b8e9fac95e' 
  AND token = 'rK0TNGRMQ8J0uWlg1Kwf2OuBNddifyskyBFPhfdhWwg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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