SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f78da6c15a5249e27350f58208fb2b5b040a3ab79a9fede0e4350cecaa64f35' 
  AND token = 'kO/POw7Nq22Lk5AeeUNKaevE7ooflLR9dhuVMybJbAk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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