SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51154d10bb2a1e8317f8b201e5d0cce515a75303801e0b934317a5b1a0f11b77' 
  AND token = 'yi17tQP5fJ6rpim/0upP+qv6Yx4yP/m0FCz1YVbClko=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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