SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34045e3551aaf6de994b276398bc3de9128fe9eee72b810e076a7760f2c46da6' 
  AND token = 'y8vKR69oxuwIoURG808D/ec4SlAfJuOcT/NXucL7hbI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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