SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9d19615df7bcb37fd07483c8310af1395fef047b0bdc5ea7644b8170c55025e' 
  AND token = 'v40DFcJZORGHvliGV2UmHtXXuB+D9RfdtUXYVxol2rs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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