SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10c6253833770361644f53ca2e0ecaddeaa7555bff44099f87382dc0875e7ba3' 
  AND token = 'IOljvILj+to0zZvSx3l+AaOm0r+POBkUmWL7HLpqYXs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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