SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae9d117345b0d5423ce59b570241b2d993955d0e0cd63064f97d3dc0421ab445' 
  AND token = '59Wydz+i8mIARqlky86z8qNZimFVif3eGbrEqk3zN7c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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