SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02a0518193341e119346a81c3c45de69c53305edfa9787e4a4961f13963b92e9' 
  AND token = 'tVqV5KCTXYFiQ4KlMAyjEbWLkJXDHswc75mUJTzcVfM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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