SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a09d40bbeb6b11e63f98c5cc2869ea771a452eafff9e66db2e1afcd6a844254' 
  AND token = 'ZjiR6/eYmpzZATIw3kosMK4e6rcSKGW/tcJdAh9tQYU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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