SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b315f6509821ad4d756b52c31d9d8808d78dfcfb15cb61dba2bc8005596889df' 
  AND token = 'MeGVfMd59290I1CPHeiPBpNovV+/6E1lYLl0LN1J3n4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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