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

Query time 0.00036

JSON explain

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