SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a78c77b1cef09580dde76f0483d07480c6416fbb4262fefc78158f85761e6727' 
  AND token = 'K+pE3Q34R3zEhYqdXH5ejOrJQdvtHYiF0YN7NFmliX8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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