SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d13d58db5b91b5bea8541a50143578078c5e4951f66f04c66550791a33da5af' 
  AND token = 'N7/FgilcaDwb3eGZpb2SWgWmKE6iOewtkCSsgLbWLH8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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