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

Query time 0.00020

JSON explain

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