SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '791dced60e4d7725c3c8321b12cbfca58d4a08952e6ab8a48d282116c69709c6' 
  AND token = 'SNo4Bj/Pk7HI5vUHaEOKrt1xtJ93NaxWkIu2M/+HgEg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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