SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02297b524d92940762ad5812a1c58cfac13bf3a99b1c7875009d243b4262a074' 
  AND token = 'ZB8uMGno/sAILhJ4V2T/H6NYB9+bXjfaH7GfGH/THFA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00113

JSON explain

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