SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5078bd9818f6ac44c24631c57bc9b5e21775c7ebfee96514ac395c8e9dcc5a50' 
  AND token = '3+nUPOOajUpJj7Nuz1ts/JpxYgSnP7z+0k+U3ZCA0Z8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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