SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '76e7f2fbe1295fe8b646bb54cf6eafe2c7cfbdd8ebf86cd5dc755418df84d00e' 
  AND token = 'cOcbuuwJfKZwyKU2202lijSNsByX5n0JSkbKwu0fyS4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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