SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bae47cd5615881fcd6283836005c9f53c64dd87a155962a325caf4ea5d8b4f31' 
  AND token = '0RfFbkY117HAl4uGxp6iNBqS6bal0Moi4FHLFFuWtpc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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