SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f45d4dc81da5e929cc346ec500fb974d549ee24aed019ba70e34dc1ec4cfaa6' 
  AND token = 'gK2x2DSySIaNBES7Lttgy3OaJjz5Ste/7z4jhWT05mQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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