SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c31706d67536ee991b3a821efcce596977434096b1840fb1b382196ec0f5855b' 
  AND token = 'OjYSU3uzeRyCQWIyw7nVs+QaYCmdlexO8LqCq7OZ3Mg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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