SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12a5712e98bbe96eaf07121090a23d576a50602a3450c5a99abfe0a5cde3f61d' 
  AND token = '7fk4t+BKMWAewjeXNZMdK+QcyZ7qCmVstnO/MSVedbE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00067

JSON explain

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