SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1291e889e7fd99f39402979ff05c0adfda9ba877ca9654b0fec4a45cc4b56732' 
  AND token = 'gQB76NiyxqdJ5CsiNz9ZBxQ8bJUT+0J9XerlkxSzWx4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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